<template>
    <div class="container">
        <div class="swiper">
            <van-swipe :autoplay="3000" indicator-color="#fff">
                <van-swipe-item v-for="(image, index) in images" :key="index">
                    <img v-lazy="image" />
                </van-swipe-item>
            </van-swipe>
        </div>

        <div class="center">
            <div class="left">
                <div class="title">固定式气体检测报警器</div>
                <ul class="list">
                    <li class="item" v-for="item in list" :key="item">
                        {{ item }}
                    </li>
                </ul>
            </div>
            <div class="right">
                <img src="../assets/otto/zx/jiqi.png" alt="">
            </div>
        </div>

        <zixunList />
    </div>
</template>

<script>
import zixunList from './components/zixunList.vue';
export default {
    components: {
        zixunList
    },
    data() {
        return {
            images: [
                require('../assets/otto/zx/swiper/image.png'),
                require('../assets/otto/zx/swiper/image.png'),
                require('../assets/otto/zx/swiper/image.png'),
            ],
            list: [
                '可燃气体检测',
                '有毒气体检测',
                '有害气体检测',
                // '多合一气体检测',
                // 'TVOC检测'
            ]
        }
    }
}
</script>

<style scoped>
* {
    box-sizing: border-box;
}
.container {
    width: 100%;
    height: 100vh;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.swiper {
    width: 100%;
}

.center {
    width: 90%;
    margin-top: 10px;
    background-color: #fff;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    border: 1px solid #E6ECF2;
}
.center .left {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.center .left .title {
    font-size: 16px;
    color: #003D79;
    font-weight: 800;
    line-height: 24px;
}
.center .left .list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 1;
}

.center .left .list .item {
    color: #336494;
    font-size: 12px;
    line-height: 20px;
}

.center .right {
    width: 170px;
}

.center .right img {
    width: 100%;
}





</style>